package 设计原则.接口隔离原则;

public class Student implements EatAction,SleepAction{
    @Override
    public void eat() {
        System.out.println("吃饭");
    }



    @Override
    public void sleep() {
        System.out.println("睡觉");

    }
}
